<template>
	<view class="container">
		<view class="header">
			<view class="headerBg"></view>
			<view class="successStatus">
				<text class="iconfont iconduihao2"></text>
				<text class="status-text">任务发布成功</text>
			</view>
			<view class="successMain">
				<view class="successBox">
					<view class="successBox-icon">
						<image src="../../../static/images/rocket.png" mode=""></image>
					</view>
					<view class="success-text">
						<view class="recod-tit">
							设置成热门推荐
						</view>
						<view class="recod-best">
							任务完成速度可以提升6倍
						</view>
						<view class="recod-money">
							设置热门推荐需要消耗2000金币
						</view>
					</view>
					<view class="success-btn">
						<view class="cancel-btn">
							下次再说
						</view>
						<view class="setRecod-btn" @click="handleSetRecod">
							设置热门推荐
						</view>
					</view>
				</view>
			</view>
			<view class="notice">
				<view class="text">
					1. 热门推荐任务具有专属标志，可以让您的任务更容易被用户发现和完成。
				</view>
				<view class="text">
					2. 热门推荐任务自成分类，属于平台推荐的优质任务，用户会优先去完成。
				</view>
				<view class="text">
					特别提示：成为热门支付的金币，<text>一经使用，概不退回</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		components: {
	
		},
		data() {
			return {
			}
		},
		onReady() {
		},
		methods: {
			handleSetRecod () {
				uni.navigateTo({
					url:"/pages/center/myTask/myTask"
				})
			}
		}
	}
</script>
<style>
	page {
		background: #F8F8F8;
	}
</style>
<style scoped lang="scss">
	.container {
		.header {
			.headerBg {
				position: absolute;
				left: 0;
				top: 0;
				width: 100%;
				height: 260rpx;
				border-radius: 0 0 56rpx 56rpx;
				background: linear-gradient(#fc4250, #fe744b);
				z-index: 0;
			}
			.successStatus {
				position: relative;
				margin-bottom: 45rpx;
				z-index: 1;
				text-align: center;
				.iconfont {
					font-size: 40rpx;
					color: #fff;
					vertical-align: middle;
				}
				.status-text {
					padding-left: 18rpx;
					font-size: 30rpx;
					color: #fff;
					font-weight: bold;
					vertical-align: middle;
				}
			}
			.successMain {
				position: relative;
				width: 660rpx;
				margin: 0 auto 35rpx;
				border-top: 8rpx solid #ea431e;
				z-index: 1;
				.successBox {
					width: 636rpx;
					margin: 0px auto 0rpx;
					padding-top: 32rpx;
					padding-bottom: 32rpx;
					background: #fff;
					.successBox-icon {
						width: 232rpx;
						height: 232rpx;
						margin: 0 auto 38rpx;
						overflow: hidden;
						image {
							width: 100%;
							height: 100%;
						}
					}
					.success-btn {
						height: 90rpx;
						overflow: hidden;
						font-size: 0;
						.cancel-btn {
							float: left;
							width: 290rpx;
							height: 90rpx;
							margin-left: 6rpx;
							border-radius: 45rpx;
							line-height: 90rpx;
							box-sizing: border-box;
							border: 1px solid #fd5562;
							text-align: center;
							font-size: 28rpx;
							color: #fd5562;
						}
						.setRecod-btn {
							float: right;
							width: 290rpx;
							height: 90rpx;
							margin-right: 6rpx;
							line-height: 90rpx;
							border-radius: 45rpx;
							box-sizing: border-box;
							border: 1px solid #fd5562;
							background: #fd5562;
							text-align: center;
							font-size: 28rpx;
							color: #fff;
						}
					}
				}
			}
			.success-text {
				margin-bottom: 64rpx;
				text-align: center;
				.recod-tit {
					margin-bottom: 20rpx;
					line-height: 100%;
					font-weight: bold;
					font-size: 28rpx;
					color: #000;
				}
				.recod-best {
					margin-bottom: 20rpx;
					line-height: 100%;
					font-weight: bold;
					font-size: 32rpx;
					color: #fd4870;
				}
				.recod-money {
					line-height: 100%;
					font-size: 24rpx;
					color: #8d8d8d;
				}
			}
			.notice {
				padding: 0 68rpx;
				.text {
					margin-bottom: 25rpx;
					font-size: 24rpx;
					color: #9fa0a2;
					letter-spacing: 6rpx;
					word-spacing: 6rpx;
					text {
						color: #fd5562;
					}
				}
			}
		}
	}
</style>
